<template>
  <div class="demo-title">switch/demo2</div>
  <div class="demo">
    <Switch class="switch" v-model="openValue" disable/>
    <Switch class="switch" v-model="closeValue" disable/>
  </div>
</template>

<script lang="ts" setup>
  import { ref } from 'vue'
  import Switch from '@sscd-mobile/switch'
  const openValue = ref(true)
  const closeValue = ref(false)
</script>

<style lang="less" scoped>
.demo {
  display: flex;
  padding: 12px;
  background: #fff;
  .switch {
    margin-right: 12px;
  }
}
</style>
